home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu245.dms / pu245.adf / Amiga / Appendices / WhichIncludeWhat.doc < prev    next >
Text File  |  1992-05-03  |  13KB  |  854 lines

  1. 9    WHICH INCLUDE WHAT
  2.  
  3. 9.1  INTRODUCTION
  4.  
  5. As you probably have already noticed you sometimes have to
  6. include a lot of header files. The problem is that it can be
  7. very hard to remember which structures are declared in which
  8. header files. Some header files will also automatically include
  9. other header files, and thus it can be very hard to know which
  10. header files you should included.
  11.  
  12. To make this easy for you I have made a short description of
  13. all header files. For every file I have first listed the names
  14. of the header files it automatically includes and listed the
  15. structures which are defined.
  16.  
  17.  
  18.  
  19. 9.2  GRAPHICS
  20.  
  21. graphics/clip.h
  22.   #include <graphics/gfx.h>
  23.   #include <exec/semaphores.h>
  24.   struct Layer
  25.   struct ClipRect
  26.  
  27.  
  28. graphics/collide.h
  29.   No includes or structures
  30.  
  31.  
  32. graphics/copper.h
  33.   struct CopIns
  34.   struct cprlist
  35.   struct CopList
  36.   struct UCopList
  37.   struct copinit
  38.  
  39.  
  40. graphics/display.h
  41.   No includes or structures
  42.  
  43.  
  44. graphics/gels.h
  45.   struct VSprite
  46.   struct Bob
  47.   struct AnimComp
  48.   struct AnimOb
  49.   struct DBufPacket
  50.   struct collTable
  51.  
  52.  
  53. graphics/gfx.h
  54.   struct Rectangle
  55.   struct BitMap
  56.  
  57.  
  58. graphics/gfxbase.h
  59.   #include <exec/lists.h>
  60.   #include <exec/libraries.h>
  61.   #include <exec/interrupts.h>
  62.   struct GfxBase
  63.  
  64.  
  65. graphics/gfxmacros.h
  66.   #include <graphics/rastport.h>
  67.  
  68.  
  69. graphics/graphint.h
  70.   #include <exec/nodes.h>
  71.   struct Isrvstr
  72.  
  73.  
  74. graphics/layers.h
  75.   #include <exec/lists.h>
  76.   #include <exec/semaphores.h>
  77.   struct Layer_Info
  78.  
  79.  
  80. graphics/rastport.h
  81.   #include <graphics/gfx.h>
  82.   struct AreaInfo
  83.   struct TmpRas
  84.   struct GelsInfo
  85.   struct RastPort
  86.  
  87.  
  88. graphics/regions.h
  89.   #include <graphics/gfx.h>
  90.   struct RegionRectangle
  91.   struct Region
  92.  
  93.  
  94. graphics/sprite.h
  95.   struct SimpleSprite
  96.  
  97.  
  98. graphics/text.h
  99.   #include <exec/ports.h>
  100.   struct TextAttr
  101.   struct TextFont
  102.  
  103.  
  104. graphics/view.h
  105.   #include <graphics/gfx.h>
  106.   #include <graphics/copper.h>
  107.   struct ColorMap
  108.   struct ViewPort
  109.   struct View
  110.   struct RasInfo
  111.  
  112.  
  113.  
  114. 9.3  INTUITION
  115.  
  116. intuition/intuition.h
  117.   #include "exec-types.h"
  118.   #include "graphics/gfx.h"
  119.   #include "graphics/clip.h"
  120.   #include "graphics/view.h"
  121.   #include "graphics/rastport.h"
  122.   #include "graphics/layers.h"
  123.   #include "graphics/text.h"
  124.   #include "exec/ports.h"
  125.   #include "devices/timer.h"
  126.   #include "devices/inputevent.h"
  127.   struct Menu
  128.   struct MenuItem
  129.   struct Requester
  130.   struct Gadget
  131.   struct BoolInfo
  132.   struct PropInfo
  133.   struct StringInfo
  134.   struct IntuiText
  135.   struct Border
  136.   struct Image
  137.   struct IntuiMessage
  138.   struct Window
  139.   struct NewWindow
  140.   #include "intuition/screens.h"
  141.   #include "intuition/preferences.h"
  142.   struct Remember
  143.  
  144.  
  145. intuition/intuitionbase.h
  146.   #include <exec/types.h>
  147.   #include <exec/libraries>
  148.   #include <intuition/intuition.h>
  149.   #include <exec/interrupts>
  150.   struct FatIntuiMessage
  151.   struct IBox
  152.   struct Point
  153.   struct PenPair
  154.   struct GListEnv
  155.   struct GadgetInfo
  156.   struct IntuitionBase
  157.  
  158.  
  159. intuition/preferences.h
  160.   #include "exec/types.h"
  161.   #include "devices/timer.h"
  162.   struct Preferences
  163.  
  164.  
  165. intuition/screens.h
  166.   #include "exec/types.h"
  167.   #include "graphics/gfx.h"
  168.   #include "graphics/clip.h"
  169.   #include "graphics/view.h"
  170.   #include "graphics/rastport"
  171.   #include "graphics/layers.h"
  172.   struct Screen
  173.   struct NewScreen
  174.  
  175.  
  176.  
  177. 9.4  RESOURCES
  178.  
  179. resources/cia.h
  180.   No includes or structures
  181.  
  182.  
  183. resources/disk.h
  184.   #include "exec/types.h"
  185.   #include "exec/lists.h"
  186.   #include "exec/ports.h"
  187.   #include "exec/interrupts.h"
  188.   #include "exec/libraries.h"
  189.   struct DiscResourceUnit
  190.   struct DiskResource
  191.  
  192.  
  193. resources/filesysres.h
  194.   #include "exec/nodes.h"
  195.   #include "exec/lists.h"
  196.   #include "libraries/dos.h"
  197.   struct FileSysResource
  198.   struct FileSysEntry
  199.  
  200.  
  201. resources/mathresource.h
  202.   #include <exec/types.h>
  203.   #include <exec/nodes.h>
  204.   struct MathIEEEResource
  205.  
  206.  
  207. resources/misc.h
  208.   #include "exec/types.h"
  209.   #include "exec/libraries.h"
  210.   struct MiscResource
  211.  
  212.  
  213. resources/potgo.h
  214.   No includes or structures
  215.  
  216.  
  217.  
  218. 9.5  HARDWARE
  219.  
  220. hardware/adkbits.h
  221.   No includes or structures
  222.  
  223.  
  224. hardware/blit.h
  225.   struct bltnode
  226.  
  227.  
  228. hardware/cia.h
  229.   struct CIA
  230.  
  231.  
  232. hardware/custom
  233.   struct Custom
  234.  
  235.  
  236. hardware/dmabits.h
  237.   No includes or structures
  238.  
  239.  
  240. hardware/intbits.h
  241.   No includes or structures
  242.  
  243.  
  244.  
  245. 9.6  CLIB
  246.  
  247. clib/macros.h
  248.   No includes or structures
  249.  
  250.  
  251.  
  252. 9.7  LIBRARIES
  253.  
  254. libraries/configregs.h
  255.   #include "exec/types.h"
  256.   struct ExpansionRom
  257.   struct ExpansionControl
  258.   struct DiagArea
  259.  
  260.  
  261. libraries/configvars.h
  262.   #include "exec/types.h"
  263.   #include "exec/nodes.h"
  264.   #include "libraries/configregs.h"
  265.   struct ConfigDev
  266.   struct CurrentBinding
  267.  
  268.  
  269. libraries/diskfont.h
  270.   #include "exec/nodes.h"
  271.   #include "exec/lists."
  272.   #include "graphics/text.h"
  273.   struct FontContents
  274.   struct FontContentsHeader
  275.   struct DiskFontHeader
  276.   struct AvailFonts
  277.   struct AvailFontsHeader
  278.  
  279.  
  280. libraries/dos.h
  281.   #include "exec/types.h"
  282.   struct DateStamp
  283.   struct FileInfoBlock
  284.   struct InfoData
  285.  
  286.  
  287. libraries/dosextens.h
  288.   #include "exec/types.h"
  289.   #include "exec/tasks.h"
  290.   #include "exec/ports.h"
  291.   #include "exec/libraries.h"
  292.   #include "libraries/dos.h"
  293.   struct Process
  294.   struct FileHandle
  295.   struct DosPacket
  296.   struct StandardPacket
  297.   struct DosLibrary
  298.   struct RootNode
  299.   struct DosInfo
  300.   struct CommandLineInterface
  301.   struct DeviceList
  302.   struct DevInfo
  303.   struct DosList
  304.   struct FileLock
  305.  
  306.  
  307. libraries/expansion.h
  308.   No includes or structures
  309.  
  310.  
  311. libraries/expansionbase.h
  312.   #include "exec/types.h"
  313.   #include "exec/libraries.h"
  314.   #include "exec/interrupts.h"
  315.   #include "exec/semaphores.h"
  316.   #include "libraries/configvars.h"
  317.   struct ExpansionInt
  318.   struct ExpansionBase
  319.  
  320.  
  321. libraries/filehandler.h
  322.   #include "exec/types.h"
  323.   #include "exec/ports.h"
  324.   #include "libraries/dos.h"
  325.   struct DosEnvec
  326.   struct FileSysStartupMsg
  327.   struct DeviceNode
  328.  
  329.  
  330. libraries/mathffp.h
  331.   No includes or structures
  332.  
  333.  
  334. libraries/mathieeedp.h
  335.   No includes or structures
  336.  
  337.  
  338. libraries/mathlibrary.h
  339.   #include <exec/types.h>
  340.   #include <exec/libraries.h>
  341.   struct struct MathIEEEBase
  342.  
  343.  
  344. libraries/romboot_base.h
  345.   #include <exec/types.h>
  346.   #include <exec/nodes.h>
  347.   #include <exec/lists.h>
  348.   #include <exec/libraries.h>
  349.   #include <exec/execbase.h>
  350.   #include <exec/execname.h>
  351.   struct RomBootBase
  352.   struct BootNode
  353.  
  354.  
  355. libraries/translator.h
  356.   No includes or structures
  357.  
  358.  
  359.  
  360. 9.8  WORKBENCH
  361.  
  362. workbench/icon.h
  363.   No includes or structures
  364.  
  365.  
  366. workbench/startup.h
  367.   #include "exec/types.h"
  368.   #include "exec/ports.h"
  369.   #include "libraries/dos.h"
  370.   struct WBStartup
  371.   struct WBArg
  372.  
  373.  
  374. workbench/workbench.h
  375.   #include "exec/types.h"
  376.   #include "exec/nodes.h"
  377.   #include "exec/lists.h"
  378.   #include "exec/tasks.h"
  379.   #include "intuition/intuition.h"
  380.   struct DrawerData
  381.   struct DiskObject
  382.   struct FreeList
  383.  
  384.  
  385.  
  386. 9.9  EXEC
  387.  
  388. exec/alerts.h
  389.   No includes or structures
  390.  
  391.  
  392. exec/devices.h
  393.   #include "exec/libraries.h"
  394.   #include "exec/ports.h"
  395.   struct Device
  396.   struct Unit
  397.  
  398.  
  399. exec/errors.h
  400.   No includes or structures
  401.  
  402.  
  403. exec/exec.h
  404.   #include "exec/nodes.h"
  405.   #include "exec/lists.h"
  406.   #include "exec/interrupts.h"
  407.   #include "exec/memory.h"
  408.   #include "exec/ports.h"
  409.   #include "exec/tasks.h"
  410.   #include "exec/libraries.h"
  411.   #include "exec/devices.h"
  412.   #include "exec/io.h"
  413.   
  414.  
  415. exec/execbase.h
  416.   #include "exec/lists.h"
  417.   #include "exec/interrupts.h"
  418.   #include "exec/libraries.h"
  419.   #include "exec/tasks.h"
  420.   struct ExecBase
  421.  
  422.  
  423. exec/execname.h
  424.   No includes or structures
  425.  
  426.  
  427. exec/interrupts.h
  428.   #include "exec/nodes.h"
  429.   #include "exec/lists.h"
  430.   struct Interrupt
  431.   struct IntVector
  432.   struct SoftIntList
  433.  
  434.  
  435. exec/io.h
  436.   #include "exec/ports.h"
  437.   struct IORequest
  438.   struct IOStdReq
  439.  
  440.  
  441. exec/libraries.h
  442.   #include "exec/nodes.h"
  443.   struct Library
  444.  
  445.  
  446. exec/lists.h
  447.   #include "exec/nodes.h"
  448.   struct List
  449.   struct MinList
  450.  
  451.  
  452. exec/memory.h
  453.   #include "exec/nodes.h"
  454.   struct MemChunk
  455.   struct MemHeader
  456.   struct MemEntry
  457.   struct MemList
  458.  
  459.  
  460. exec/nodes.h
  461.   struct Node
  462.   struct MinNode
  463.  
  464.  
  465. exec/ports.h
  466.   #include "exec/nodes.h"
  467.   #include "exec/lists.h"
  468.   #include "exec/tasks.h"
  469.   struct MsgPort
  470.   struct Message
  471.  
  472.  
  473. exec/resident.h
  474.   #include "exec/nodes.h"
  475.   struct Resident
  476.  
  477.  
  478. exec/semaphores.h
  479.   #include "exec/nodes.h"
  480.   #include "exec/lists.h"
  481.   #include "exec/ports.h"
  482.   #include "exec/tasks.h"
  483.   struct Semaphores
  484.   struct SemaphoreRequest
  485.   struct SignalSemaphore
  486.  
  487.  
  488. exec/tasks.h
  489.   #include "exec/nodes.h"
  490.   #include "exec/lists.h"
  491.   struct Task
  492.  
  493.  
  494. exec/types.h
  495.   No includes or structures
  496.  
  497.  
  498.  
  499. 9.10  DEVICES
  500.  
  501. devices/audio.h
  502.   #include "exec/io.h"
  503.   struct IOAudio
  504.  
  505.  
  506. devices/bootblock.h
  507.   struct BootBlock
  508.  
  509.  
  510. devices/clipboard.h
  511.   #include <exec/nodes.h"
  512.   #include "exec/lists.h"
  513.   #include "exec/ports.h"
  514.   struct ClipboardUnitPartial
  515.   struct IOClipReq
  516.   struct SatisfyMsg
  517.  
  518.  
  519. devices/console.h
  520.   #include "exec/io.h"
  521.  
  522.  
  523. devices/conunit.h
  524.   #include "exec/ports.h"
  525.   #include "devices/console.h"
  526.   #include "devices/keymap.h"
  527.   #include "devices/inputevent.h"
  528.   struct ConUnit
  529.  
  530.  
  531. devices/gameport.h
  532.   struct GamePortTrigger
  533.  
  534.  
  535. devices/hardblocks.h
  536.   struct RigidDiskBlock
  537.   struct BadBlockEntry
  538.   struct BadBlockBlock
  539.   struct PartitionBlock
  540.   struct FileSysHeaderBlock
  541.   struct LoadSegBlock
  542.  
  543.  
  544. devices/input.h
  545.   #include "exec/io.h"
  546.  
  547.  
  548. devices/inputevent.h
  549.   #include "devices/timer.h"
  550.   struct InputEvent
  551.  
  552.  
  553. devices/keyboard.h
  554.   #include "exec/io.h"
  555.  
  556.  
  557. devices/keymap.h
  558.   #include "exec/nodes.h"
  559.   #include "exec/lists.h"
  560.   struct KeyMap
  561.   struct KeyMapNode
  562.   struct KeyMapResource
  563.  
  564. devices/narrator.h
  565.   #include "exec/io.h"
  566.   struct narrator_rb
  567.   struct mouth_rb
  568.  
  569.  
  570. devices/parallel.h
  571.   #include "exec/io.h"
  572.   struct IOPArray
  573.   struct IOExtPar
  574.  
  575.  
  576. devices/printer.h
  577.   #include "exec/nodes.h"
  578.   #include "exec/lists.h"
  579.   #include "exec/ports.h"
  580.   struct IOPrtCmdReq
  581.   struct IODRPReq
  582.  
  583.  
  584. devices/prtbase.h
  585.   #include "exec/nodes.h"
  586.   #include "exec/lists.h"
  587.   #include "exec/ports.h"
  588.   #include "exec/libraries.h"
  589.   #include "exec/tasks.h"
  590.   #include "devices/parallel.h"
  591.   #include "devices/serial.h"
  592.   #include "devices/timer.h"
  593.   #include "libraries/dosextens.h"
  594.   #include "intuition/intuition.h"
  595.   struct DeviceData
  596.   struct PrinterData
  597.   struct PrinterExtendedData
  598.   struct PrinterSegment
  599.  
  600.  
  601. devices/prtgfx.h
  602.   union colorEntry
  603.   struct PrtInfo
  604.  
  605.  
  606. devices/scsidisk.h
  607.   struct SCSICmd
  608.  
  609.  
  610. devices/serial.h
  611.   #include "exec/io.h"
  612.   struct IOTArray
  613.   struct IOExtSer
  614.  
  615.  
  616. devices/timer.h
  617.   #include "exec/io.h"
  618.   struct timval
  619.   struct timerequest
  620.  
  621.  
  622. devices/trackdisk.h
  623.   #include "exec/io.h"
  624.   #include "exec/devices.h"
  625.   struct IOExtTD
  626.   struct TDU_PublicUnit
  627.  
  628.  
  629.  
  630. 9.11  PROTO
  631.  
  632. proto/all.h
  633.   #include <exec/types.h>
  634.   #include <proto/console.h>
  635.   #include <proto/diskfont.h>
  636.   #include <proto/dos.h>
  637.   #include <proto/exec.h>
  638.   #include <proto/expansion.h>
  639.   #include <proto/intuition.h>
  640.   #include <proto/graphics.h>
  641.   #include <proto/icon.h>
  642.   #include <proto/layers.h>
  643.   #include <proto/mathffp.h>
  644.   #include <proto/mathieeedoubbas.h>
  645.   #include <proto/mathieeesingbas.h>
  646.   #include <proto/mathtrans.h>
  647.   #include <proto/potgo.h>
  648.   #include <proto/timer.h>
  649.   #include <proto/translator.h>
  650.  
  651.  
  652. proto/console.h
  653.   #include <devices/inputevent.h>
  654.   #include <exec/devices.h>
  655.   #include <devices/keymaps.h>
  656.  
  657.  
  658. proto/cstrings.h
  659.   No includes or structures
  660.  
  661.  
  662. proto/diskfont.h
  663.   #include <libraries/diskfont.h>
  664.  
  665.  
  666. proto/dos.h
  667.   #include <libraries/dosextens.h>
  668.  
  669.  
  670. proto/exec.h
  671.   #include <exec/types.h>
  672.  
  673.  
  674. proto/expansion.h
  675.   #include <libraries/expansion.h>
  676.   #include <libraries/expansionbase.h>
  677.  
  678.  
  679. proto/graphics.h
  680.   No includes or structures
  681.  
  682.  
  683. proto/icon.h
  684.   No includes or structures
  685.  
  686.  
  687. proto/intuition.h
  688.   #include <intuition/intuition.h>
  689.  
  690.  
  691. proto/layers.h
  692.   #include <graphics/layers.h>
  693.  
  694.  
  695. proto/mathffp.h
  696.   No includes or structures
  697.  
  698.  
  699. proto/mathieeedoubbas.h
  700.   No includes or structures
  701.  
  702.  
  703. proto/mathieedoubtrans.h
  704.   No includes or structures
  705.  
  706.  
  707. proto/mathieesingbas.h
  708.   No includes or structures
  709.  
  710.  
  711. proto/mathtrans.h
  712.   No includes or structures
  713.  
  714.  
  715. proto/potgo.h
  716.   No includes or structures
  717.  
  718.  
  719. proto/romboot.h
  720.   No includes or structures
  721.  
  722.  
  723. proto/timer.h
  724.   #include <devices/timer.h>
  725.  
  726.  
  727. proto/translator.h
  728.   No includes or structures
  729.  
  730.  
  731.  
  732. 9.12  SYS
  733.  
  734. sys/dir.h
  735.   struct direct
  736.  
  737.  
  738. sys/stat.h
  739.   struct stat
  740.  
  741.  
  742. sys/types.h
  743.  
  744.  
  745.  
  746. 9.13  OTHERS
  747.  
  748. assert.h
  749.   No includes or structures
  750.  
  751.  
  752. ctype.h
  753.   No includes or structures
  754.  
  755.  
  756. dos.h
  757.   #include "exec/types.h"
  758.   #include "exec/ports.h"
  759.   #include "exec/lists.h"
  760.   #include "libraries/dos.h"
  761.   struct MELT
  762.   struct MELT2
  763.   struct ProcID
  764.   struct FORKENV
  765.   struct TermMsg
  766.  
  767.  
  768. errno.h
  769.   No includes or structures
  770.  
  771.  
  772. error.h
  773.   #include <errno.h>
  774.  
  775.  
  776. fcntl.h
  777.   No includes or structures
  778.  
  779.  
  780. fctype.h
  781.   No includes or structures
  782.  
  783.  
  784. float.h
  785.   No includes or structures
  786.  
  787.  
  788. ios1.h
  789.   struct UFB
  790.  
  791.  
  792. limits.h
  793.   No includes or structures
  794.  
  795.  
  796. locking.h
  797.   No includes or structures
  798.  
  799.  
  800. m68881.h
  801.   No includes or structures
  802.  
  803.  
  804. math.h
  805.   #include <nondp.h>
  806.   struct exception
  807.  
  808.  
  809. mffp.h
  810.   #include <proto/mathffp.h>
  811.   #include <proto/mathtrans.h>
  812.  
  813.  
  814. mieeedoub.h
  815.   #include <proto/mathieeedoubbas.h>
  816.   #include <proto/mathieeedoubtrans.h>  
  817.  
  818.  
  819. nondp.h
  820.   No includes or structures
  821.  
  822.  
  823. setjmp.h
  824.   struct JMP_BUF
  825.  
  826.  
  827. signal.h
  828.   No includes or structures
  829.  
  830.  
  831. stdarg.h
  832.   No includes or structures
  833.  
  834.  
  835. stddef.h
  836.   No includes or structures
  837.  
  838.  
  839. stdio.h
  840.   struct _iobuf
  841.  
  842.  
  843. stdlib.h
  844.   No includes or structures
  845.  
  846.  
  847. string.h
  848.   No includes or structures
  849.  
  850.  
  851. time.h
  852.   struct tm
  853.   
  854.